@echo off
rem
rem
rem         Copyright (c) KUBOTA Corporation and HUDSON SOFT,
rem                  1994, 1995 All Rights Reserved
rem
rem  This software comprises unpublished confidential information of
rem  KUBOTA Corp. and HUDSON SOFT. It may not be used, copied or made 
rem  available to anyone, except in accordance with the license under
rem  which it is furnished.
rem
@echo on
cd camera
fxcc -c -g -I../../../../include aclook.c
fxcc -c -g -I../../../../include acmul.c
fxcc -c -g -I../../../../include acrotx.c
fxcc -c -g -I../../../../include acrotxsc.c
fxcc -c -g -I../../../../include acroty.c
fxcc -c -g -I../../../../include acrotysc.c
fxcc -c -g -I../../../../include acrotz.c
fxcc -c -g -I../../../../include acrotzsc.c
fxcc -c -g -I../../../../include actrans.c
fxlib -r ../libagl.a aclook.o acmul.o acrotx.o acrotxsc.o acroty.o
fxlib -r ../libagl.a acrotysc.o acrotz.o acrotzsc.o actrans.o
cd ..

cd draw
fxcc -c -g -I../../../../include adfix.c
fxcc -c -g -I../../../../include adinit.c
fxcc -c -g -I../../../../include adput.c
fxcc -c -g -I../../../../include adshot.c
fxlib -r ../libagl.a adfix.o adinit.o adput.o adshot.o
cd ..

cd light
fxcc -c -g -I../../../../include almul.c
fxcc -c -g -I../../../../include alrotx.c
fxcc -c -g -I../../../../include alrotxsc.c
fxcc -c -g -I../../../../include alroty.c
fxcc -c -g -I../../../../include alrotysc.c
fxcc -c -g -I../../../../include alrotz.c
fxcc -c -g -I../../../../include alrotzsc.c
fxlib -r ../libagl.a almul.o alrotx.o alrotxsc.o alroty.o alrotysc.o
fxlib -r ../libagl.a alrotz.o alrotzsc.o
cd ..

cd misc
fxcc -c -g -I../../../../include amlvec.c
fxcc -c -g -I../../../../include amunit.c
fxlib -r ../libagl.a amlvec.o amunit.o
cd ..

cd object
fxcc -c -g -I../../../../include aomtr.c
fxcc -c -g -I../../../../include aomul.c
fxcc -c -g -I../../../../include aorotx.c
fxcc -c -g -I../../../../include aorotxsc.c
fxcc -c -g -I../../../../include aoroty.c
fxcc -c -g -I../../../../include aorotysc.c
fxcc -c -g -I../../../../include aorotz.c
fxcc -c -g -I../../../../include aorotzsc.c
fxlib -r ../libagl.a aomtr.o aomul.o aorotx.o aorotxsc.o aoroty.o
fxlib -r ../libagl.a aorotysc.o aorotz.o aorotzsc.o
cd ..
